package dd.view;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;


public class addEdgesScreen extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					addEdgesScreen frame = new addEdgesScreen();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public addEdgesScreen() {
		setTitle("add your edges");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		
		DrawingCanvas canvas = new DrawingCanvas(null);
		canvas.setBounds(0, 0, 450, 278);
		canvas.regesiterMouseEvent();
//		getContentPane().setLayout(null);
		getContentPane().add(canvas);
		
//		contentPane = new JPanel();
//		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
//		setContentPane(contentPane);
//		contentPane.setLayout(null);
//		
//		JPanel DrawingCanvasPannel = new JPanel();
//		DrawingCanvasPannel.setBounds(56, 90, 332, 161);
//		contentPane.add(DrawingCanvasPannel);
//		
//	   JLabel addEdgesLabel = new JLabel("please add your edges");
//     addEdgesLabel.setBounds(127, 29, 150, 16);
//     contentPane.add(addEdgesLabel);
	
//		JLabel EdgesLeftLabel = new JLabel("EdgesLeft");
//		EdgesLeftLabel.setBounds(311, 52, 61, 16);
//		contentPane.add(EdgesLeftLabel);
//		
//		JLabel EventNameLabel = new JLabel("Event Name");
//		EventNameLabel.setBounds(156, 6, 89, 16);
//		contentPane.add(EventNameLabel);
	}
}
